<?php
/**
 * ExtTextArea class file
 *
 * @author TrueSoftware B.V. (The Netherlands)
 * @link http://www.ext4yii.com
 * @copyright Copyright 2007-2010 TrueSoftware B.V. all rights reserved.
 * @license http://www.ext4yii.com/license/
 *          EVALUATION VERSION - NOT FOR COMMERCIAL USE OR DISTRIBUTION.
 * @version 0.7.2
 */

class ExtTextArea extends ExtTextAreaBase
{
    /**
     * Gets the value of ExtJS autoCreate property
     * @return String/Object 
     */
    public function getAutoCreate()
    {
    	return $this->getConfig("autocreate");
    }

    /**
     * Sets the value of ExtJS autoCreate property
     * @param String/Object $value 
     */
    public function setAutoCreate($value)
    {
    	$this->setConfig("autocreate",$value);
    }

    /**
     * Gets the value of ExtJS growMax property
     * @return Number 
     */
    public function getGrowMax()
    {
    	return $this->getConfig("growmax");
    }

    /**
     * Sets the value of ExtJS growMax property
     * @param Number $value 
     */
    public function setGrowMax($value)
    {
    	$this->setConfig("growmax",$value);
    }

    /**
     * Gets the value of ExtJS growMin property
     * @return Number 
     */
    public function getGrowMin()
    {
    	return $this->getConfig("growmin");
    }

    /**
     * Sets the value of ExtJS growMin property
     * @param Number $value 
     */
    public function setGrowMin($value)
    {
    	$this->setConfig("growmin",$value);
    }

    /**
     * Gets the value of ExtJS preventScrollbars property
     * @return Boolean 
     */
    public function getPreventScrollbars()
    {
    	return $this->getConfig("preventscrollbars");
    }

    /**
     * Sets the value of ExtJS preventScrollbars property
     * @param Boolean $value 
     */
    public function setPreventScrollbars($value)
    {
    	$this->setConfig("preventscrollbars",$value);
    }

    
    public function __construct()
    {
        parent::__construct();
        $this->configmap = array_merge($this->configmap,array(
            'autocreate' => 'autoCreate',
            'growmax' => 'growMax',
            'growmin' => 'growMin',
            'preventscrollbars' => 'preventScrollbars'
        ));



        $this->proptags = array_merge($this->proptags,array(
            'text' => true
        ));
        $this->setXType('textarea');
        $this->setXClass('Ext.form.TextArea');
    }    
}
?>